package com.zenchn.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * @author wlf
 * @version 1.0
 * @date 2021/6/9 17:01:00
 */
public class DateListVO<T> implements Serializable {

    private static final long serialVersionUID = 7836946453386288426L;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDate date;

    private List<T> list;

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public DateListVO(LocalDate date, List<T> list) {
        this.date = date;
        this.list = list;
    }
}
